package com.webcash.CNBoard.Service;

import java.util.List;

import com.webcash.CNBoard.Model.Board;
import com.webcash.CNBoard.Model.EmpBoard;
import com.webcash.CNBoard.Model.EmpComment;

public interface BoardService {
	List<EmpBoard> getEmpBoardListByEmpNo(int empNo, int pageNum);
	void addEmpBoardByEmpNo(String id, Board board, int empNo);
	EmpBoard getEmpBoardByEmpNoAndEmpBoardNo(int empNo, int empBoardNo);
	void removeEmpBoardByEmpNoAndEmpBoardNo(int empNo, int empBoardNo);
	int getEmpBoardCountByEmpNo(int empNo);
	void updateEmpBoardByBoardNo(Board board, int empBoardNo, int empNo);
	List<EmpComment> getEmpCommentListByBoardNo(int boardNo);
	void addEmpCommentByBoardNoAndId(int boardNo, String id, String commentContents);
	void updateEmpBoardForReadCountByEmpNoAndEmpBoardNo(int empNo,
			int empBoardNo);
}
